﻿namespace fastdbServer.Basic
{
    public class ConfigOptions
    {
        public SystemConfig SystemConfig { get; set; }

        public ConnectionStrings ConnectionStrings { get; set; }

        public Security Security { get; set; }
    }

    #region 基础配置

    public class ConnectionStrings
    {
        public string SqlServer { get; set; }


        public string Sqlite { get; set; }

        public string MySql { get; set; }
    }

    #endregion


    #region 数据库相关配置

    public class DbServerInfo
    {
        public string Connection { get; set; }

        public byte DataType { get; set; }
    }

    #endregion

    public class Security
    {
        public string AesKey { get; set; }
    }

    public class SystemConfig
    {
        #region 是否是调试模式

        public bool IsDebug { get; set; }

        #endregion

        public string FileUploadFolder { get; set; }

        public string ServiceName { get; set; }
    }
}